import styles from './index.module.less';

interface IConsItemProps {
    title: String;
    content: String | Number;
}

export default function ConsItem (props: IConsItemProps) {
    const { title, content } = props;

    return(
        <div className={styles['cons-item']}>
            <div className={styles['title']}>{title}</div>
            <div className={styles['content']}>
                {content || '加载中...'}
            </div>
        </div>
    )
}